 function loginCheck(){
	       var $userLoginCode = $('#userLoginCode').val();
	       if($userLoginCode == ""){
	    	   weui.topTips('账号不能为空'); 
	    	   return false;
	       }
	       var $password = $('#password').val();
	       if($password == ""){
	    	   weui.topTips('密码不能为空'); 
	    	   return false;
	       }
	       
	       $.ajax({
			 	url: ctp+"/phoneLoginController/login.shtml",
			 	data: {
			 		userLoginCode:$userLoginCode,
			    	password:$password,
			    	userType:"1"},
				type : 'POST', 
				dataType : 'json', 
				timeout:20000,
				success : function(json) {
					if(json.success==true) { 
						weui.toast("登录成功",{
							duration: 1000,
							callback: function(){
								location.href=ctp+"/phoneLoginController/home.shtml";
							}
						}); 
					}else if(json.success==false){  
						weui.topTips(json.msg); 
						//$("#tip").html("<font color=\"red\">"+json.msg+"</font>");
					}    
				}, error: function() {
					weui.topTips("处理超时,请重新登录！"); 
			    	location.reload();
		      }
			});
	
  }
 